import gr from '@/utils/guard'

export default [
  {
    path: '/users/notifications/',
    component: () => import('@/views/notify/layout.vue'),
    meta: { guard: () => gr.isLogged('/login') },
    children: [{
      path: '',
      redirect: '/users/notifications/inbox'
    }, {
      path: 'inbox',
      component: () => import('@/views/notify/inbox.vue'),
      meta: { title: '' }
    }, {
      path: 'achievement',
      component: () => import('@/views/notify/achievement.vue'),
      meta: { title: '' }
    }
    ]
  }]